package playgrounduml.umlspecs.xmi.v241.schema;

//
//Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert 
//Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
//Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. 
//Generiert: 2014.04.05 um 09:22:16 PM CEST 
//

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java-Klasse für Replace complex type.
* 
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
* 
* <pre>
* &lt;complexType name="Replace">
*   &lt;complexContent>
*     &lt;extension base="{http://www.omg.org/spec/XMI/20110701}Difference">
*       &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}integer" />
*       &lt;attribute name="replacement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
*     &lt;/extension>
*   &lt;/complexContent>
* &lt;/complexType>
* </pre>
* 
* 
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Replace")
public class Replace
 extends Difference
{

 @XmlAttribute(name = "position")
 protected BigInteger position;
 @XmlAttribute(name = "replacement")
 @XmlIDREF
 @XmlSchemaType(name = "IDREFS")
 protected List<Object> replacement;

 /**
  * Ruft den Wert der position-Eigenschaft ab.
  * 
  * @return
  *     possible object is
  *     {@link BigInteger }
  *     
  */
 public BigInteger getPosition() {
     return position;
 }

 /**
  * Legt den Wert der position-Eigenschaft fest.
  * 
  * @param value
  *     allowed object is
  *     {@link BigInteger }
  *     
  */
 public void setPosition(BigInteger value) {
     this.position = value;
 }

 /**
  * Gets the value of the replacement property.
  * 
  * <p>
  * This accessor method returns a reference to the live list,
  * not a snapshot. Therefore any modification you make to the
  * returned list will be present inside the JAXB object.
  * This is why there is not a <CODE>set</CODE> method for the replacement property.
  * 
  * <p>
  * For example, to add a new item, do as follows:
  * <pre>
  *    getReplacement().add(newItem);
  * </pre>
  * 
  * 
  * <p>
  * Objects of the following type(s) are allowed in the list
  * {@link Object }
  * 
  * 
  */
 public List<Object> getReplacement() {
     if (replacement == null) {
         replacement = new ArrayList<Object>();
     }
     return this.replacement;
 }
}
